package com.bkgy.controller.planking.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.commom.model.Temp;
import com.bkgy.controller.planking.entity.TbProfit1870;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TBProfit1870Dao extends BaseMapper<TbProfit1870> {

    public TbProfit1870 selectTopRecord(String entid);
    public List<TbProfit1870> selectNumRecord(Integer num);

    public List<Temp> selectNullCrew(String lastDay);

    public List<TbProfit1870> selectNullParam(String lastDay);

    List<TbProfit1870> listProfit1(String steelgrade, Integer widthClass, Integer thickClass);
    List<TbProfit1870> listProfit2(String steelgrade);
    List<TbProfit1870> listProfit3(Integer widthClass, Integer thickClass);

    TbProfit1870 selectTopTimeEntIdRecord(String startTime);
    //根据入口id获取最后一个出口时间
    TbProfit1870 selectTopTimeExtIdRecord(String entid);
}




